/*
 * Copyright (c) 2008, Xiong Yingfei, the University of Tokyo
 * All rights reserved.
 */
package ac.jp.u_tokyo.SyncLib.util;

public class Pair<T1, T2>
{
	private T1 _value1;
	private T2 _value2;
	public Pair(T1 value1, T2 value2)
	{
		super();
		_value1 = value1;
		_value2 = value2;
	}
	public T1 getValue1()
	{
		return _value1;
	}
	public T2 getValue2()
	{
		return _value2;
	}
	@Override
	public String toString()
	{
		return "<" + _value1 + ", " + _value2 + ">";
	}
	
	
	
}
